/* eslint-disable */
import { request } from '@umijs/max';


/** 根据类型获glb数据 */
export const getGlbForType = async (params) => {
  return request('/glb/getGlbForType', {
    method: 'GET',
    params,
  });
}
/** 根据类型获glb数据 */
export const updataGlbForType = async (data) => {
  return request('/glb/updataGlbForType', {
    method: 'POST',
    data,
  });
}
/** 根据类型获glb数据 */
export const addGlbForType = async (data) => {
  return request('/glb/addGlbForType', {
    method: 'POST',
    data,
  });
}
/** 获取一条数据 */
export const getGlbForName = async (params) => {
  return request('/glb/getGlbForName', {
    method: 'GET',
    params,
  });
}
/** 删除一条数据 */
export const delGlbForName = async (params) => {
  return request('/glb/delGlbForName', {
    method: 'GET',
    params,
  });
}